<h1>Add a New Contact</h1>

<!-- # START:errors -->
<div class="form">
  <%= error_messages_for :contact -%>
  <!-- # END:errors -->

  <fieldset>
  <legend>Enter Contact Information</legend>
  <% form_for :contact, :url => { :action => "create" } do |form| %> 
   
   <%= render :partial => 'form', :object => form  %>

    <%= submit_tag "Create", :class => "submit" %> &nbsp;
    <%= link_to "cancel", { :action => "index" }, :class => "cancel" %>
  <% end %>
  </fieldset>
</div>